<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content ">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-content">
						<form class="form-horizontal m-t" id="signupForm">
							<input id="id" name="id" th:value="${word.id}"  type="hidden">
							<input id="fromUserId" name="fromUserId" th:value="${word.fromUserId}"  type="hidden">
							<input id="replyUserId" name="replyUserId" th:value="${userDo.userId}" type="hidden">

							<div class="form-group">
								<label class="col-sm-3 control-label">留言人姓名：</label>
								<div class="col-sm-8">
									<input id="fromFullName" name="fromFullName" th:value="${word.fromFullName}" class="form-control" type="text" readonly>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">留言标题：</label>
								<div class="col-sm-8">
									<input id="title" name="title" th:value="${word.title}" class="form-control" type="text" readonly>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">留言内容：</label>
								<div class="col-sm-8">
									<input id="content" name="content" th:value="${word.content}" class="form-control" type="text" readonly>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">留言时间：</label>
								<div class="col-sm-8">
									<input id="createDate" name="createDate" th:value="${#dates.format(word.createDate, 'yyyy-MM-dd HH:mm:ss')}" class="form-control" type="text" readonly>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">回复人姓名：</label>
								<div class="col-sm-8">
									<input id="replyFullName" name="replyFullName" th:value="${userDo.name}" class="form-control" type="text" readonly>
								</div>
							</div>
							<div class="form-group">
								<input id="replyContent" name="replyContent" type="hidden">
								<label class="col-sm-3 control-label">回复人内容：</label>
								<div class="col-sm-8">
									<div class="ibox-content no-padding">
										<!-- 加载编辑器的容器 -->
										<script name="content_sn" type="text/javascript" id="container" ></script>
									</div>
								</div>
							</div>
							<div class="form-group">
								<div class="col-sm-8 col-sm-offset-3">
									<button type="submit" class="btn btn-primary">提交</button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
	</div>
	</div>
	<div th:include="include::footer"></div>
	<script type="text/javascript" src="/js/appjs/system/word/edit.js">
	</script>
</body>
</html>
